Skip to content

Update dependency ruff to v0.12.10 #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elastic-renovate-prod[bot]
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Aug 16, 2025

This PR contains the following updates:

Package Update Change
ruff (source, changelog) patch ==0.12.8 -> ==0.12.10

Release Notes

astral-sh/ruff (ruff)

v0.12.10

Compare Source

Preview features
  • [flake8-simplify] Implement fix for maxsplit without separator (SIM905) (#​19851)
  • [flake8-use-pathlib] Add fixes for PTH102 and PTH103 (#​19514)
Bug fixes
  • [isort] Handle multiple continuation lines after module docstring (I002) (#​19818)
  • [pyupgrade] Avoid reporting __future__ features as unnecessary when they are used (UP010) (#​19769)
  • [pyupgrade] Handle nested Optionals (UP045) (#​19770)
Rule changes
  • [pycodestyle] Make E731 fix unsafe instead of display-only for class assignments (#​19700)
  • [pyflakes] Add secondary annotation showing previous definition (F811) (#​19900)
Documentation

v0.12.9

Compare Source

Preview features
  • [airflow] Add check for airflow.secrets.cache.SecretCache (AIR301) (#​17707)
  • [ruff] Offer a safe fix for multi-digit zeros (RUF064) (#​19847)
Bug fixes
  • [flake8-blind-except] Fix BLE001 false-positive on raise ... from None (#​19755)
  • [flake8-comprehensions] Fix false positive for C420 with attribute, subscript, or slice assignment targets (#​19513)
  • [flake8-simplify] Fix handling of U+001C..U+001F whitespace (SIM905) (#​19849)
Rule changes
  • [pylint] Use lowercase hex characters to match the formatter (PLE2513) (#​19808)
Documentation
  • Fix lint.future-annotations link (#​19876)
Other changes
  • Build riscv64 binaries for release (#​19819)

  • Add rule code to error description in GitLab output (#​19896)

  • Improve rendering of the full output format (#​19415)

    Below is an example diff for F401:

    -unused.py:8:19: F401 [*] `pathlib` imported but unused
    +F401 [*] `pathlib` imported but unused
    +  --> unused.py:8:19
        |
      7 | # Unused, _not_ marked as required (due to the alias).
      8 | import pathlib as non_alias
    -   |                   ^^^^^^^^^ F401
    +   |                   ^^^^^^^^^
      9 |
     10 | # Unused, marked as required.
        |
    -   = help: Remove unused import: `pathlib`
    +help: Remove unused import: `pathlib`

    For now, the primary difference is the movement of the filename, line number, and column information to a second line in the header. This new representation will allow us to make further additions to Ruff's diagnostics, such as adding sub-diagnostics and multiple annotations to the same snippet.


Configuration

📅 Schedule: Branch creation - "* * * * 0,6" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot requested a review from a team as a code owner August 16, 2025 21:38
@elastic-renovate-prod elastic-renovate-prod bot changed the title Update dependency ruff to v0.12.9 Update dependency ruff to v0.12.10 Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants